//
//  Topic.h
//  MHO
//
//  Created by papo on 4/2/14.
//  Copyright (c) 2014 maihoang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Topic : NSObject

@property (nonatomic, strong) NSString* topicId;
@property (nonatomic, strong) NSString* topicName;
//@property (nonatomic, strong) NSString* description;
@property (nonatomic, strong) NSString* imageUrl;


+ (NSMutableArray*)topicFromUrl:(NSString*)url;
+ (NSMutableArray*)topicFromCat:(NSString *)cat;

+ (Topic*)topicFromDictionary:(NSDictionary*)dict;

- (id)initWithDictionary:(NSDictionary*)dict;
@end
